package com.zx.BookSeaReader.ui.booklistdetail;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;

import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.zx.BookSeaReader.R;
import com.zx.BookSeaReader.base.BaseActivity;
import com.zx.BookSeaReader.widget.RefreshLayout;

public class BookListDetailActivity extends BaseActivity {

    @BindView(R.id.book_list_info_tv_title)
    TextView mTvBookListTitle;
    @BindView(R.id.book_list_detail_tv_desc)
    TextView mTvBookListDesc;
    @BindView(R.id.book_list_detail_tv_sub)
    TextView mTvSubscribe;
    @BindView(R.id.book_list_detail_tv_add_comment)
    TextView mTvAddComment;
    @BindView(R.id.book_list_info_tv_author)
    TextView mTvAuthor;
    @BindView(R.id.disc_detail_tv_best_comment)
    TextView mTvBestComment;
    @BindView(R.id.disc_detail_tv_comment_count)
    TextView mTvCommentCount;
    @BindView(R.id.book_list_edit_title)
    TextView mTvEditTitle;
    @BindView(R.id.book_list_edit_desc)
    TextView mTvEditDesc;

    @BindView(R.id.book_list_detail_tv_create)
    TextView mTvCreater;

    @BindView(R.id.refresh_layout)
    RefreshLayout mRlRefresh;
    @BindView(R.id.refresh_rv_content)
    RecyclerView mRvBooks;
    @BindView(R.id.tv_title_text)
    TextView mTvTitle;
    @BindView(R.id.ll_title_back)
    LinearLayout llTitleBack;

    @BindView(R.id.disc_detail_rv_best_comments)
    RecyclerView mRvHotComments;
    @BindView(R.id.disc_detail_rv_comments)
    RecyclerView mRvComments;

    private BookListDetailPresenter mBookListDetailPresenter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_book_list_detail);
        ButterKnife.bind(this);
        setStatusBar(R.color.sys_line);

        mBookListDetailPresenter=new BookListDetailPresenter(this);
        mBookListDetailPresenter.start();
    }

    public TextView getTvBookListTitle() {
        return mTvBookListTitle;
    }
    public TextView getTvCreater() {
        return mTvCreater;
    }
    public TextView getTvAddComment() {
        return mTvAddComment;
    }
    public TextView getTvBookListDesc() {
        return mTvBookListDesc;
    }
    public TextView getTvEditTitle() {
        return mTvEditTitle;
    }
    public TextView getTvEditDesc() {
        return mTvEditDesc;
    }
    public TextView getTvSubscribe() {
        return mTvSubscribe;
    }
    public TextView getTvAuthor() {
        return mTvAuthor;
    }public TextView getTvTitle() {
        return mTvTitle;
    }
    public TextView getTvBestComment() {
        return mTvBestComment;
    }
    public TextView getTvCommentCount() {
        return mTvCommentCount;
    }
    public RefreshLayout getRlRefresh() {
        return mRlRefresh;
    }
    public RecyclerView getRvBooks() {
        return mRvBooks;
    }
    public RecyclerView getRvHotComments() {
        return mRvHotComments;
    }
    public RecyclerView getRvComments() {
        return mRvComments;
    }

    public LinearLayout getllTitleBack() {
        return llTitleBack;
    }
}
